package com.edu.dao;

import com.edu.beans.Vip;

import java.util.List;

public interface VipsDao {

    int addVip(Vip vip);

    List<Vip> findVipsByPhone(String phone);

    List<Vip> getVipsByPhone(String phone);

    List<Vip> getVipsByCard(String card);

    int deleteVipById(int id);

    Vip findVipByid(int id);

    int updateVip(Vip vip);

    List<Vip> getAllVips();
}
